package com.hp.ssmp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hp.ssmp.entity.TCommentReply;
import com.hp.ssmp.entity.TGoodsCategory;
import com.hp.ssmp.entity.dto.TGoodsCategoryDto;

import java.util.List;

public interface CategoryService extends IService<TGoodsCategory> {
    //    获取全部商品分类
    public List<TGoodsCategoryDto> getList();

    //    获取level不大于参数的分类
    public List<TGoodsCategory> getLevelList(Long level);
}
